package com.bdqn.boot.controller;

import com.bdqn.boot.beans.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Hasee
 * @version 1.0
 * @className PersonController
 * @description TODD
 * @date 2025/2/20 14:42
 */
@RestController
public class PersonController {
    @Autowired
    private Person person;
    @RequestMapping("/person")
    public Person getPerson() {
        return person;
    }
}
